Disable terminal tests on windows
authorAlex Crichton <alex@alexcrichton.com>
Wed, 25 Jun 2014 05:04:13 +0000 (22:04 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 25 Jun 2014 18:12:56 +0000 (11:12 -0700)
The windows terminal does not use terminfo and is much different, so these tests
will fail on windows or actually write to the console.

tests/test_shell.rs

index 908ebaf39699ae2e20497b0e1c7742ba17f4dde9..df730a2148027b8d5a4a5e4358c32cf0231b30db 100644 (file)
@@ -1,3 +1,7 @@
+#![cfg(not(windows))] // getting the actual colored output is a little different
+                      // on windows, so it's tough to get a reference copy of all
+                      // the color
+
 use support::{ResultTest,Tap,shell_writes};
 use hamcrest::{assert_that};
 use std::io::{MemWriter, BufWriter, IoResult};